package org.csu.myblogger.myblogger.service.service;

import org.csu.myblogger.myblogger.commom.CommonResponce;
import org.csu.myblogger.myblogger.entity.Article;
import org.csu.myblogger.myblogger.vo.ArticleVo;
import org.springframework.stereotype.Service;

@Service
public interface ArticleService {
    CommonResponce PublishArticle(String username, ArticleVo article);
    CommonResponce EditArticle(String username,String article_title,ArticleVo article);
    CommonResponce DeleteArticle(String username,ArticleVo article);
    CommonResponce ArticleClassification(String username,ArticleVo article);
    CommonResponce ArticleBookmark(String username,ArticleVo article);//收藏文章
    CommonResponce CancleArticleBookmark(String username,ArticleVo article);
    CommonResponce SearchArticle(String articleid);
}
